package com.opencart.dao;

import java.util.List;

import com.opencart.domain.Category;
import com.opencart.utils.web.pagination.PagedResultSet;
import com.opencart.utils.web.pagination.Pager;

public interface CategoryDAO {
	public Category findById(Long id);
	public Category saveOrUpdate(Category category);
	public PagedResultSet paginate(Pager pager);
	public List<Category> findAll(Pager pager);
	public List<Category> findAll();
	public Integer getAllCount();
	public void delete(Category category);
}
